remove repeated letters in a String